package HelloWorld
import chisel3._
class HelloWorld extends Module{
  var io = IO (new Bundle{
    var in_a = Input(UInt(2.W))
    var in_b = Input(UInt(1.W))
    var out = Output(UInt(3.W))
  })
  io.out := io.in_a + io.in_b
}

object HelloWorld_Gen extends App {
  (new chisel3.stage.ChiselStage).emitVerilog(new HelloWorld())
}